package com.fyz.aaronfjava.common.exception;

/**
 * @Author：fanyaozhou
 * @Date：2024/1/31 14:30
 * @description 断言异常
 */
public class AssertException extends RuntimeException{

    /**
     * 错误码 使用哪种断言产生的错误
     */
    private String code;

    public AssertException(String code, String msg){
        super(msg);
        this.code = code;
    }

}
